<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>用户账户</title>
	<link rel="stylesheet" href="/public/lib/layui-v2.5.4/layui/css/layui.css">
	<link rel="stylesheet" href="/public/css/usercount.css">
</head>
<body>
	<table id="demo" lay-filter="test"></table>
	<!-- 头部工具栏 -->
    <script type="text/html" id="toolbar">
		<div class="layui-inline">
			<div class="layui-input-inline">
				<input type="text" name="num" placeholder="请输入工号" class="layui-input">
			</div>
			<button class="layui-btn layui-icon layui-icon-search" lay-event="searchUser">查找</button>
			<button class="layui-btn layui-icon layui-icon-add-1" lay-event="addUser">添加数据</button>
			<button class="layui-btn layui-icon layui-icon-delete" lay-event="delUsers">批量删除</button>
			<button class="layui-btn layui-icon layui-icon-refresh" lay-event="refresh">刷新</button>
		</div>
	</script>
	<!-- 行工具栏 -->
	<script id="rowTools" type="text/html">
		<button class="layui-btn layui-btn-xs" lay-event="edit">修改密码</button>
		<button class="layui-btn layui-btn-warm layui-btn-xs" lay-event="authorize">设置权限</button>
		<button class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</button>
	</script>
	<!-- 用户添加框 -->
	<form class="form">
		<div class="form-num">
			<input type="text" name="num" placeholder="工号" autofocus required class="num">
		</div>
		<div class="form-name">
			<input type="text" name="name" placeholder="姓名" required class="name">
		</div>
		<div class="form-pwd">
			<input type="password" name="pwd" placeholder="密码" required class="pwd">
		</div>
		<div class="form-type">
			<label>设置角色：</label>
			<select name="type" class="type">
				<option value="管理员">管理员</option>
				<option value="教师">教师</option>
			</select>
		</div>
		<div class="form-submit">
			<a href="javascript:;" class="layui-btn submit">提交</a>
			<input type="reset" class="layui-btn reset">
		</div>
	</form>
	<!-- 权限设置框 -->
	<div class="set-type">
		<div class="type-setting">
			<label>请选择一个身份：</label>
			<select name="type" class="stype">
				<option value="管理员">管理员</option>
				<option value="教师">教师</option>
			</select>
		</div>
	</div>
    <script src="/public/lib/jquery-easyui-1.8.7/jquery.min.js"></script>
	<script src="/public/lib/layui-v2.5.4/layui/layui.js"></script>
	<script src="/public/js/usercount.js"></script>
</body>
</html>